package top.sdwu_top.kbase.util.file;

import org.springframework.web.multipart.MultipartFile;
import top.sdwu_top.kbase.entity.FileData;

import java.io.InputStream;

public interface FileUtil {

    FileData saveFile(MultipartFile file);

    FileData saveText(String content, String type);

    InputStream getFile(String path);


    String getStoreType();


}
